<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
<div id="forum_invitationReply_replyInvitation">
	<div style="margin: 5px;">
		<table style="border-collapse:collapse; border: 1px solid #C1CDCD; width:100%; margin: 0; padding: 0;">
			<tr style="height:32px;border-bottom:1px solid #DDD;background-color: #E0EEEE">
				<td colspan="2" style="font-weight:bold;font-size:14px;">&nbsp;${KEY_INVITATION.title }</td>
			</tr>
			<tr>
				<td style="width:160px;border-right:1px solid #DDD;">
					<table style="border-collapse: collapse; width:100%; margin: 0; padding: 0;">
						<tr>
							<td align="center"><img src="${pageContext.request.contextPath}/images/user_default.png" width="96" height="96" /></td>
						</tr>
						<tr>
							<td>◆&nbsp;${KEY_INVITATION.creatorName }</td>
						</tr>
					</table>
				</td>
				<td>
					<table style="border-collapse: collapse; width:100%; margin: 0; padding: 0;">
						<tr>
							<td style="width:20%;border-bottom:1px solid #DDD;text-align: left;">&nbsp;楼主</td><td style="width:80%;border-left:0;border-top:0;border-right:0;border-bottom:1px solid #DDD;text-align: right;">发布于&nbsp;<fmt:formatDate value="${KEY_INVITATION.createTime }" pattern="yyyy-MM-dd HH:mm:ss"/>&nbsp;</td>
						</tr>
						<tr style="height:120px;">
							<td style="width:100%;border-left:0;border-right:0;" colspan="2">${KEY_INVITATION.content }</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<c:forEach var="item" items="${KEY_INVITATION_REPLY }">
			<table style="border-collapse:collapse; border-left:1px solid #DDD;border-top:0;border-right:1px solid #DDD;border-bottom:1px solid #DDD; width:100%; margin: 0; padding: 0;">
				<tr style="border-bottom:1px solid #DDD;background-color: #F6F9ED">
					<td colspan="2">&nbsp;</td>
				</tr>
				<tr>
					<td style="width:160px;border-right:1px solid #DDD;">
						<table style="border-collapse: collapse; width:100%; margin: 0; padding: 0;">
							<tr>
								<td align="center"><img src="${pageContext.request.contextPath}/images/user_default.png" width="96" height="96" /></td>
							</tr>
							<tr>
								<td>◆&nbsp;${item.replierName }</td>
							</tr>
						</table>
					</td>
					<td>
						<table style="border-collapse: collapse; width:100%; margin: 0; padding: 0;">
							<tr>
							    <td style="width:20%;border-bottom:1px solid #DDD;text-align: left;">&nbsp;#${item.serialNo }楼</td><td style="width:80%;border-left:0;border-top:0;border-right:0;border-bottom:1px solid #DDD;text-align: right;">发布于&nbsp;<fmt:formatDate value="${item.replyTime }" pattern="yyyy-MM-dd HH:mm:ss"/>&nbsp;</td>
							</tr>
							<tr style="height:120px;">
								<td colspan="2" style="width:100%;border-left:0;border-right:0;">${item.content }</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</c:forEach>
	</div>
	<div style="margin: 10px 2px 0 0;">
		<form id="forum_invitationReply_replyInvitationForm" method="post">
			<table>
				<tr>
					<td style="font-weight:bold;font-size:16px;">在下面回帖：</td>
				</tr>
				<tr>
					<td><textarea name="content" style="height:150px;"></textarea></td>
				</tr>
			</table>
			<input name="invitationId" type="hidden" />
		</form>
	</div>
</div>